package com.woniu.commom;

public enum ResultUtil {
     SUCCESS(200L,"操作成功"),
    FAILED(500L,"操作失败"),
    VALIDATE_PARAMETER_FIALED(400L,"验证参数失败"),
    UNVERIFIED(401L,"未认证或token过期"),
    UNAUTHORIZED(403L,"未授权");
    private  Long code;

    ResultUtil(Long code, String message) {
        this.code = code;
        this.message = message;
    }

    private  String message;

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
